package com.hrc.springbootdemo.log.bizlog.controller;

import com.hrc.springbootdemo.log.bizlog.BizLogService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/bizlog")
@AllArgsConstructor
public class BizLogController {

    private BizLogService bizLogService;

    @RequestMapping("/")
    public String test(String bizNo){
        bizLogService.test(bizNo);
        return "ok";
    }
}
